package xin.yogee.ms.module.oa.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import xin.yogee.ms.module.oa.entity.Stock;
import xin.yogee.ms.module.oa.mapper.StockMapper;
import xin.yogee.ms.module.oa.service.IStockService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 入库记录 服务实现类
 * </p>
 *
 * @author jackieQ
 * @since 2020-02-27
 */
@Service
public class StockServiceImpl extends ServiceImpl<StockMapper, Stock> implements IStockService {

    @Resource
    private StockMapper stockMapper;

    @Override
    public IPage<Stock> getList(Page<Stock> stockPage) {
        return stockMapper.getList(stockPage);
    }
}
